export default [
    {
        url: '/api/todos',
        method: 'get',
        response: () => {
            const todos = [
                {
                    id: 1,
                    title: 'todo1',
                    completed: false,
                },
                {
                    id: 2,
                    title: 'todo2',
                    completed: true,
                }
            ]
            return {
                code: 0,
                msg: 'success',
                data: todos,
            }
        }
    },
    {
        url: '/repos',
        method: 'get',
        response: () => {
            const repos = [
                {
                    id: 628628912,
                    title: 'repo1',
                    description: 'repo1xxx',
                },
                {
                    id: 27817291,
                    title: 'repo2',
                    description: 'repo2xxx',
                }
            ]
            return repos
        }
    }
]